import { useRoutes } from "react-router-dom";
import { routes } from "../configs/routes";
export default function MyRoutes(){
    const element = useRoutes(routes)
    return element
}